package com.choosefine.base.shixiaobao.common.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel("分页条件")
public class BaseDto {
    public static final int DEFAULT_PAGE_NUM = 1;
    public static final int DEFAULT_PAGE_SIZE = 10;

    @ApiModelProperty("页码")
    private int pageNum  = DEFAULT_PAGE_NUM;
    
    @ApiModelProperty("每页展示条数")
    private int pageSize = DEFAULT_PAGE_SIZE;
    
	public int getPageNum() {
		return pageNum;
	}
	public void setPageNum(int pageNum) {
		this.pageNum = pageNum;
	}
	public int getPageSize() {
		return pageSize;
	}
	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}
    
    
}